package com.plian.system.entity.ms.yth;

import com.baomidou.mybatisplus.annotation.TableName;
import com.plian.system.entity.yth.YthBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 数据采集-问题整改任务执行主表
 * </p>
 *
 * @author hu song
 * @since 2023-04-18 16:33:20
 */
@Getter
@Setter
@TableName("collection_task_execution")
@ApiModel(value = "TaskExecution对象", description = "数据采集-问题整改任务执行主表")
public class TaskExecution extends YthBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("租户ID")
    private String tenantId;

    @ApiModelProperty("单据编码")
    private String invoiceCode;

    @ApiModelProperty("选择问题id")
    private Long problemId;

    @ApiModelProperty("选择问题(简述)")
    private String problemName;

    @ApiModelProperty("问题所属企业")
    private String problemEnterprise;

    @ApiModelProperty("发生时间")
    private LocalDate occurrenceTime;

    @ApiModelProperty("整改情况")
    private Integer rectificationSituation;

    @ApiModelProperty("整改完成时间")
    private LocalDate rectificationDate;

    @ApiModelProperty("已整改金额(万元)")
    private BigDecimal rectificationAmount;

    @ApiModelProperty("备注")
    private String note;

    @ApiModelProperty("附件")
    private String attachIds;

    @ApiModelProperty("审核状态")
    private Integer auditStatus;

    @ApiModelProperty("当前流程id")
    private String processInstanceId;

    @ApiModelProperty("当前流程状态id")
    private Long processStatusId;

    @ApiModelProperty("是否生效（完整流程已通过）")
    private Integer isEnabled;

    @ApiModelProperty("填报日期")
    private LocalDateTime reportTime;

    @ApiModelProperty("填报组织id")
    private Long reportOrgId;

    @ApiModelProperty("填报组织名称")
    private String reportOrgName;

    @ApiModelProperty("填报人员id")
    private Long reportUserId;

    @ApiModelProperty("填报人员名称")
    private String reportUserName;


}
